<script type="text/javascript" src="{HEJIN_PATH}public/admin/js/jquery.js"></script>
<script type="text/javascript" src="{HEJIN_PATH}public/admin/js/jquery.validation.min.js"></script>
<script type="text/javascript" src="{HEJIN_PATH}public/admin/js/admincp.js"></script>
<script type="text/javascript" src="{HEJIN_PATH}public/admin/js/jquery.tooltip.js"></script>
<script type="text/javascript" src="{HEJIN_PATH}public/admin/js/jquery.cookie.js"></script>
<link href="{HEJIN_PATH}public/admin/css/skin_0.css" rel="stylesheet" type="text/css" id="cssfile2" />
<link href="{HEJIN_PATH}public/admin/css/style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
    $(document).ready(function(){
        $(".class_parent").click(function(){
            if($(this).attr("status") == "open") {
                $(this).attr("status","close");
                $(this).attr("src","{HEJIN_PATH}public/allimg/tv-collapsable.gif");
                $("."+$(this).attr("class_id")).show();
            } else {
                $(this).attr("status","open");
                $(this).attr("src","{HEJIN_PATH}public/allimg/tv-expandable.gif");
                $("."+$(this).attr("class_id")).hide();
            }
        });

        //行内ajax编辑
        $('span[nc_type="class_sort"]').inline_edit({act: 'store',op: 'update_class_sort'});
        $('span[nc_type="class_name"]').inline_edit({act: 'store',op: 'update_class_name'});

    });
</script>
<div class="page">
  <div class="fixed-bar">
    <div class="item-title">
<div class="h3" style="width:auto">{lang hejin_box:wsitegl}</div>
      <ul class="tab-base">
        <li><a href="admin.php?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex" class="current"><span>{lang hejin_box:wfenlei}</span></a></li>
        <li><a href="admin.php?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=dbdh"><span>{lang hejin_box:wdaohang}</span></a></li>
      </ul>
    </div>
  </div>
  <!-- 操作说明 -->
  <table class="table tb-type2" id="prompt">
    <tbody>
      <tr class="space odd">
        <th colspan="12" class="nobg"><div class="title">
            <h5>{lang hejin_box:cztishi}</h5>
            <span class="arrow"></span></div></th>
      </tr>
      <tr>
        <td><ul>
            <li>{lang hejin_box:fenleitsa}</li>
            <li>{lang hejin_box:fenleitsb}</li>
			<li>{lang hejin_box:fenleitsc}</li>
          </ul></td>
      </tr>
    </tbody>
  </table>
  <form id="list_form" method='post'>
    <table class="table tb-type2">
      <thead>
        <tr class="space">
          <th colspan="15" class="nobg"></th>
        </tr>
        <tr class="thead">
          <th class="w48"></th>
          <th class="w48">{lang hejin_box:paixua}</th>
          <th>{lang hejin_box:flname}</th>
          <th class="w120">{lang hejin_box:flpica}</th>
          <th class="w120">{lang hejin_box:caidanlx}</th>
          <th class="w300">{lang hejin_box:url}</th>
          <th class="w200 align-center">{lang hejin_box:caozuo}</th>
        </tr>
      </thead>
      <tbody>
        <!--{loop $wfles $wfl}-->
        <tr class="hover edit">
          <td>
            </td>
          <td class="w48 sort"><span nc_type="class_sort" title="" class="editable tooltip">$wfl['sort']</span></td>
          <td class="name"><span nc_type="class_name" title="" class="editable tooltip"><!--{eval echo stripslashes($wfl['title']);}--></span>{if !$wfl['url']}<a class="btn-add-nofloat marginleft" href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=addnews&fid=$wfl['id']"><span>{lang hejin_box:addwwz}</span></a>{/if}</td>
          <td class="w48 sort"><div style=" background-color:#CCC; width:30px; height:30px;"><img width="30" height="30" src="<!--{eval echo stripslashes($wfl['pic']);}-->"></div></td>
          <td class="w48 sort">{if $wfl['url']}{lang hejin_box:wfla}{else}{lang hejin_box:wflb}{/if}</td>
          <td class="w48 sort">{if $wfl['url']}<a href="<!--{eval echo stripslashes($wfl['url']);}-->" target="_blank"><!--{eval echo stripslashes($wfl['url']);}--></a>{else}
          <!--{eval $news = C::t('#hejin_box#hjbox_news')->fetch_fid_all(intval($wfl['id']));}-->
          <a href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=news&fid=$wfl['id']">{lang hejin_box:wzgllist} ( <!--{eval echo count($news);}--> )</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="{HEJIN_URL}:index&model=list&fid=$wfl['id']" target="_blank">{lang hejin_box:flurl}</a>{/if}</td>
          <td class="align-center"><a href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=editfl&id=$wfl['id']">{lang hejin_box:xiugai}</a> | <a href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=delfl&id=$wfl['id']&formhash={FORMHASH}" onclick="return confirm(&quot;{lang hejin_box:shanchuts}&quot;);">{lang hejin_box:shanchu}</a></td>
        </tr>

        
        <!--{/loop}-->                                                                
        

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                              </tbody>
            <tfoot>
        <tr class="tfoot">
          <td></td>
          <td id="batchAction" colspan="15"><span class="all_checkbox">
            
            </span> <a href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=addfla" class="btn"><span>{lang hejin_box:addfla}</span></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="$SELF?action=plugins&operation=config&do={$_GET['do']}&identifier=hejin_box&pmod=windex&model=addflb" class="btn"><span>{lang hejin_box:addflb}</span></a>
            <div class="pagination"></div>
        </tr>
      </tfoot>
          </table>
  </form>
</div>